<?php defined('SYSPATH') OR die('No direct access allowed.');

class Logout_Controller extends Controller 
{
	public function __construct()
	{
		parent::__construct();
	}

	public function index()
	{
		$this->logout();
	}

	private function logout()
	{
		Auth::instance()->logout(); 
		url::redirect(''); 
	}

}


